import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';

// import nvd3 line chart component
// import { Nvd3LineChartComponent } from './component/nvd3-line-chart/nvd3-line-chart.component';
// import { MultipleYAxisLineChartComponent } from './component/nvd3-line-chart/multiple-y-axis-line-chart.component';
import { MultiChartComponent } from './component/multi-chart/multi-chart.component';
import { GroupLineComponent } from './component/group-line-chart/group-line.component';
// import { CumulativeLineChartComponent } from './component/cumulativeLineChart/cumulative-line-chart.component';
// import  ng2-nvd3
import { NvD3Module } from 'ng2-nvd3';
// import d3 and nvd3
import 'd3';
import 'nvd3';

@NgModule({
  imports: [
    CommonModule,
    NvD3Module
  ],
  declarations: [

    // nvd3 line chart component
    // Nvd3LineChartComponent,
    // MultipleYAxisLineChartComponent,
    MultiChartComponent,
    GroupLineComponent,
    // CumulativeLineChartComponent
  ],
  providers: [],
  exports: [
    // Nvd3LineChartComponent,
    // MultipleYAxisLineChartComponent,
    MultiChartComponent,
    GroupLineComponent,
    // CumulativeLineChartComponent
  ]
})
export class ChartModule { }
